package com.neusoft.elmboot.service;

import com.github.pagehelper.PageInfo;
import com.neusoft.elmboot.dto.BusinessReqDto;
import com.neusoft.elmboot.po.Business;

import java.util.List;

public interface BusinessService {

    List<Business> getBusinessList(BusinessReqDto params);

    Long getBusinessCount(BusinessReqDto params);

    PageInfo<Business> getBusinessPage(BusinessReqDto params);

    Integer addBusiness(BusinessReqDto params);

    Business getBusinessByBusinessId(Integer businessId);

    Integer updateBusiness(BusinessReqDto params);

    Integer deleteBusiness(Integer businessId);
}
